/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aviso.property.helpers;

import aviso.property.entity.Property;
import java.util.List;

/**
 *
 * @author avgusti
 */
public abstract class PropertyFilter {
private static long genId=0L;

    public PropertyFilter(Property p) {
        genId++;
        id=genId;
        
    }

List<Long> propIds;
Long id;
Property property;

    public List<Long> getPropIds() {
        return propIds;
    }

    public void setPropIds(List<Long> propIds) {
        this.propIds = propIds;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        
        //this.id = id;
    }

    public Property getProperty() {
        return property;
    }

    public void setProperty(Property property) {
        this.property = property;
    }

public abstract boolean match(Object val);
}
